//
//  YDAHomeTableHeaderView.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/23.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDAHomeTableHeaderView;

typedef NS_ENUM(NSUInteger, SYAHomeTableHeaderViewStyle) {
    SYAHomeTableHeaderViewStyleDeafault,//0   7*24
    SYAHomeTableHeaderViewStyleDayNews,//1   每日要闻
};

@protocol SYAHomeTableHeaderViewDelegate <NSObject>


@optional


-(void)homeTableHeaderView:(YDAHomeTableHeaderView *)headerView didSelectedViewStyle:(SYAHomeTableHeaderViewStyle)viewStyle;


@end

@interface YDAHomeTableHeaderView : UITableViewHeaderFooterView


+ (instancetype)headerViewWithTableView:(UITableView *)tableView;


@property (nonatomic , weak)id<SYAHomeTableHeaderViewDelegate>delegate;


@end
